#include "Includes.h"

//Define the solution element

typedef struct
{
	int * x;		//vector solution
	int x_dim;		//vector dimension
	int value;		//the objective function value
	int i;			//row
	int j;			//column
	int control;	//0-1 control variable that indicate wether the vector 
					//solution has been recovered or not
}	solution;

solution initSolution(int vectorSize);
solution initSolutionWithParameters(int vectorSize, int* x_sol, int value_sol, int i_sol, int j_sol, int control_sol);
void setSolution(solution* s1, int* x_sol, int value_sol, int i_sol, int j_sol, int control_sol);
int isSet(solution s1);
int isEqualOrLess(solution s1, solution s2); //1 if s1 <= s2, 0 else
 
/*PRINT SOLUTION FUNCTIONS*/
void showSolution(solution s1);
void showSolutionValue(solution s1);